package com.itheima.service.system;



import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.LeaveWord;
import com.itheima.domain.system.LeaveWordExample;

import java.util.List;

public interface LeaveWordService {
    //根据id查询
    LeaveWord findById(String id);

    //保存
    void save(LeaveWord contract);

    //更新
    void update(LeaveWord contract);

    //删除
    void delete(String id);

    /*
     *   查询所有
     * */
    List<LeaveWord> findAll(LeaveWordExample example);


    //分页查询
    public PageInfo findByPage(int pageNum, int pageSize, LeaveWordExample example);

    List<LeaveWord> findLeaveWordVo(String inputDate, String companyId);

    Integer selectNum(String name);
}
